package com.xiaobai.frame.service.impl;

import com.xiaobai.data.manager.system.OperLogManager;
import com.xiaobai.frame.service.IOperLogService;
import com.xiaobai.model.entity.system.OperLog;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 操作日志记录 服务实现类
 * </p>
 *
 * @author author
 * @since 2024-11-05
 */
@Service
@RequiredArgsConstructor
public class OperLogServiceImpl implements IOperLogService {

    private final OperLogManager operLogManager;

    @Override
    public boolean saveData(OperLog operLog) {
        return operLogManager.save(operLog);
    }
}
